#include "TextThread.h"

TextThread::TextThread(const QString& text) : QThread() {
	m_text = text;
	m_stop = false;
}

TextThread::TextThread(const int& handle) : QThread()
{
	m_handle = handle;
}
void TextThread::stop() {
	m_stop = true;
}
void TextThread::run() {

	emit setHandle(m_handle);
}
